package com.xinruke.hostels.reservation.interfaces.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author GuoZheng
 * @ClassName DiscountsAddQueryDTO
 * @date：2019/7/3
 * @version: V1.0.0
 * @description：
 */
@Data
@ApiModel("添加优惠DTO")
public class DiscountsAddQueryDTO {

    @ApiModelProperty(value = "证件类型", required = true)
    @NotNull(message = "证件类型不能为空")
    private Byte zhengjianleixing;

    @ApiModelProperty(value = "证件号", required = true)
    @NotBlank(message = "证件号不能为空")
    private String zhengjianhao;

    @ApiModelProperty(value = "预订人亲属id", required = true)
    @NotNull(message = "预订人亲属id不能为空")
    private Integer qinshuId;

    @ApiModelProperty("会员ID")
    private Integer huiyuanId;

    @ApiModelProperty("亲属关系")
    private Byte qinshuguanxi;

    @ApiModelProperty("备注")
    private String beizhu;

}
